package com.linkin.homepage.ui.home.homeclass;

import com.linkin.homepage.base.BasePresenter;
import com.linkin.homepage.base.BaseView;
import com.linkin.homepage.bean.ClassItemBean;

import java.util.List;

/**
 * Created by wonder on 2018/1/20.
 */

public interface ClassContract {

    String CHANNEL_GRADUATE_SCHOOL_EXAM = "3";
    String CHANNEL_PRACTICAL_ENGLISH = "4";
    String CHANNEL_CET4_CET6 = "1_2";


    interface Presenter extends BasePresenter {
        void subscribe(boolean isGesture);
    }

    interface View extends BaseView<Presenter> {

        default void showClassItem(List<ClassItemBean> classItemBeanList) {
        }

        void showError(boolean refresh);
    }
}
